package com.ruoyi.project.gzbook.authorinfo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 作者对象 dg_author_info
 * 
 * @author mhg
 * @date 2021-10-08
 */
public class DgAuthorInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 作者名 */
    @Excel(name = "作者名")
    private String authorName;

    /** 国籍 */
    @Excel(name = "国籍")
    private String coutry;

    /** 作者图片 */
    @Excel(name = "作者图片")
    private String imagePath;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setAuthorName(String authorName)
    {
        this.authorName = authorName;
    }

    public String getAuthorName()
    {
        return authorName;
    }
    public void setCoutry(String coutry)
    {
        this.coutry = coutry;
    }

    public String getCoutry()
    {
        return coutry;
    }
    public void setImagePath(String imagePath)
    {
        this.imagePath = imagePath;
    }

    public String getImagePath()
    {
        return imagePath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("authorName", getAuthorName())
            .append("coutry", getCoutry())
            .append("imagePath", getImagePath())
            .append("createTime", getCreateTime())
            .toString();
    }
}
